package com.chaos.system.dto;

import com.chaos.framework.model.dto.DTO;
import com.chaos.system.api.data.RbacMenuData;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
public class RbacMenuTreeDto extends DTO {

    private String title;
    private Long key;
    private String icon;

    private List<RbacMenuTreeDto> children;

}
